﻿using _5E.Utils.EasyUI;
using Pool.DataBase.Models;

namespace Pool.WebSite.Service.Models
{
    class Location : IComboboxData
    {
        private LocationInfo m_location = null;

        public Location(LocationInfo location)
        {
            m_location = location;
        }

        public string ToKey()
        {
            return m_location.LiId.ToString();
        }

        public string ToValue()
        {
            return m_location.LiNm;
        }
    }
}
